package com.piggy.logi.sys.bo;

import com.piggy.common.core.web.domain.BaseTenantEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
import javax.validation.constraints.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import lombok.EqualsAndHashCode;


/**
 * 提货单运单关联关系编辑对象 logi_pickup_waybill
 *
 * @author piggy
 * @date 2023-08-25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel("提货单运单关联关系编辑对象")
public class LogiPickupWaybillEditBo extends BaseTenantEntity {


    /** 主键 */
    @ApiModelProperty("主键")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 提货单 */
    @ApiModelProperty("提货单")
    @NotNull(message = "提货单不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long pickupOrderId;

    /** 运单 */
    @ApiModelProperty("运单")
    @NotNull(message = "运单不能为空")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long waybillId;
}
